package io.renren.modules.blog.service;

import io.renren.common.service.BaseService;
import io.renren.modules.blog.dto.BlogRouterDto;
import io.renren.modules.blog.entity.BlogRouterEntity;
import io.renren.modules.security.user.UserDetail;

import java.util.List;

public interface BlogRouterService extends BaseService<BlogRouterEntity> {

    BlogRouterDto get(Long id);

    List<BlogRouterDto> getListByPid(Long id);

    List<BlogRouterDto> getBlogRouterList(UserDetail user, Integer menuType);

    List<BlogRouterDto> getAllBlogRouterList(Integer menuType);

    void save(BlogRouterDto dto);

    void update(BlogRouterDto dto);

    void delete(Long id);

}
